
			
			<div class="container">
				<div class="currency-form">
				<div class="page-header" style="position:relative;">
					<h3>Edit Currency </h3>
				</div>
					<?php echo form_open('currency/update/'. $hasil->currency_id,'class ="form-horizontal" ');?>
                        <div class="control-group">
							<label class="control-label" for="title">Currency Title<span style="color: red;">*</span></label>
							<div class="controls">
								<input type="text" name="title" value="<?php echo set_value('title', $hasil->title); ?>" />
                                <label class="error"><?php echo form_error('title'); ?></label>
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="code">Code<span style="color: red;">*</span></label>
							<div class="controls">
								<input type="text" name="code" value="<?php echo set_value('code',$hasil->code); ?>" class="input-mini" />
                                <label class="error"><?php echo form_error('code'); ?></label>
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="symbol_left">Symbol Left</label>
							<div class="controls">
								<input type="text" name="symbol_left" value="<?php echo set_value('symbol_left', $hasil->symbol_left); ?>" class="input-mini"/>
                                <label class="error"><?php echo form_error('symbol_left'); ?></label>
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="symbol_right">Symbol Right</label>
							<div class="controls">
								<input type="text" name="symbol_right" value="<?php echo set_value('symbol_right', $hasil->symbol_right); ?>" class="input-mini"/>
                                <label class="error"><?php echo form_error('symbol_right'); ?></label>
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="value">Value</label>
							<div class="controls">
								<input type="text" name="value" value="<?php echo set_value('value', $hasil->value); ?>" class="input-medium"/>
                                <label class="error"><?php echo form_error('value'); ?></label>
							</div>
						</div>
                        <hr />
                       	<div class="control-group">
							<label class="control-label" for="status">Status</label>
							<div class="controls">
								<select name="status">
                                    <?php if ($hasil->status) { ?>
                                      <option value="1" selected="selected">Enabled</option>
                                      <option value="0">Disabled</option>
                                      <?php } else { ?>
                                      <option value="1">Enabled</option>
                                      <option value="0" selected="selected">Disabled</option>
                                      <?php } ?>
                                </select>
                                <label class="error"><?php echo form_error('status'); ?></label>
							</div>
						</div>
                        <div class="form-actions">
                    		<input class="btn btn-primary" id="submit" type="submit" value="Save Change" />
                    		<input class="btn" id="cancel" type="button" name="cancel" value="Cancel" onclick="self.history.back()" /> 
                   		</div>
					<?php echo form_close(); ?>
				</div>
			</div>

		